<template>
    <div>
        <table>
            <tr>
                <td>品名</td>
                <td>规格</td>
                <td>价格</td>
                <td>入库日期</td>
                <td>货架</td>
                <td>货架储存的数量</td>
            </tr>
        </table>
        {{goods}}
    </div>
</template>

<script>
    export default {
        name: "Good",
        data(){
            return{
                msg:'hello vue',
                goods:[

                ]
            }
        },
        created() {
            const _this=this
            this.$axios.get('/api/good/houses').then(function (resp) {
                _this.goods=resp.data
            })
        }
    }
</script>

<style scoped>

</style>